package com.caiheng.api.entity.active;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;

/**
 * 活动报名名单对象 community_active_sign
 *
 * @author ruoyi
 * @date 2023-12-26
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("community_active_sign")
public class CommunityActiveSign implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * $column.columnComment
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     * 活动id
     */
    private Integer activeId;

    /**
     * 姓名
     */
    private String realName;

    /**
     * 微信用户id
     */
    private Integer wxUserId;

    /**
     * 手机号
     */
    private String phoneNum;

    /**
     * 状态
     */
    private Integer state;

    /**
     *  参与 数量
     */
    private Integer signCount;

    /**
     * 添加时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 备注信息
     */
    private String remark;

}
